# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'dialogs/propertiesDialog.ui'
#
# Created: Fri May 27 14:55:51 2011
#      by: PyQt4 UI code generator 4.8.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_ResourceDialog(object):
    def setupUi(self, ResourceDialog):
        ResourceDialog.setObjectName(_fromUtf8("ResourceDialog"))
        ResourceDialog.resize(405, 332)
        self.formLayout = QtGui.QFormLayout(ResourceDialog)
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.nameLabel = QtGui.QLabel(ResourceDialog)
        self.nameLabel.setObjectName(_fromUtf8("nameLabel"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.nameLabel)
        self.name = QtGui.QLineEdit(ResourceDialog)
        self.name.setObjectName(_fromUtf8("name"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.name)
        self.quantityLabel = QtGui.QLabel(ResourceDialog)
        self.quantityLabel.setObjectName(_fromUtf8("quantityLabel"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.quantityLabel)
        self.quantitySpinBox = QtGui.QSpinBox(ResourceDialog)
        self.quantitySpinBox.setMinimum(1)
        self.quantitySpinBox.setMaximum(999)
        self.quantitySpinBox.setObjectName(_fromUtf8("quantitySpinBox"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.quantitySpinBox)
        self.propertiesLabel = QtGui.QLabel(ResourceDialog)
        self.propertiesLabel.setObjectName(_fromUtf8("propertiesLabel"))
        self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.propertiesLabel)
        self.propertiesTable = QtGui.QTableWidget(ResourceDialog)
        self.propertiesTable.setColumnCount(2)
        self.propertiesTable.setObjectName(_fromUtf8("propertiesTable"))
        self.propertiesTable.setColumnCount(2)
        self.propertiesTable.setRowCount(0)
        item = QtGui.QTableWidgetItem()
        self.propertiesTable.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.propertiesTable.setHorizontalHeaderItem(1, item)
        self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole, self.propertiesTable)
        self.addProperty = QtGui.QPushButton(ResourceDialog)
        self.addProperty.setObjectName(_fromUtf8("addProperty"))
        self.formLayout.setWidget(6, QtGui.QFormLayout.FieldRole, self.addProperty)
        self.remove = QtGui.QPushButton(ResourceDialog)
        self.remove.setObjectName(_fromUtf8("remove"))
        self.formLayout.setWidget(7, QtGui.QFormLayout.FieldRole, self.remove)
        self.buttonBox = QtGui.QDialogButtonBox(ResourceDialog)
        self.buttonBox.setLocale(QtCore.QLocale(QtCore.QLocale.Polish, QtCore.QLocale.Poland))
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.formLayout.setWidget(8, QtGui.QFormLayout.FieldRole, self.buttonBox)
        self.typeLabel = QtGui.QLabel(ResourceDialog)
        self.typeLabel.setObjectName(_fromUtf8("typeLabel"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.typeLabel)
        self.type = QtGui.QLineEdit(ResourceDialog)
        self.type.setObjectName(_fromUtf8("type"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.type)
        self.loadImage = QtGui.QPushButton(ResourceDialog)
        self.loadImage.setObjectName(_fromUtf8("loadImage"))
        self.formLayout.setWidget(5, QtGui.QFormLayout.FieldRole, self.loadImage)
        self.actionAddProperty = QtGui.QAction(ResourceDialog)
        self.actionAddProperty.setObjectName(_fromUtf8("actionAddProperty"))

        self.retranslateUi(ResourceDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ResourceDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ResourceDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(ResourceDialog)

    def retranslateUi(self, ResourceDialog):
        ResourceDialog.setWindowTitle(QtGui.QApplication.translate("ResourceDialog", "Resource", None, QtGui.QApplication.UnicodeUTF8))
        self.nameLabel.setText(QtGui.QApplication.translate("ResourceDialog", "Name", None, QtGui.QApplication.UnicodeUTF8))
        self.quantityLabel.setText(QtGui.QApplication.translate("ResourceDialog", "Quantity", None, QtGui.QApplication.UnicodeUTF8))
        self.propertiesLabel.setText(QtGui.QApplication.translate("ResourceDialog", "Properties", None, QtGui.QApplication.UnicodeUTF8))
        self.propertiesTable.horizontalHeaderItem(0).setText(QtGui.QApplication.translate("ResourceDialog", "Name", None, QtGui.QApplication.UnicodeUTF8))
        self.propertiesTable.horizontalHeaderItem(1).setText(QtGui.QApplication.translate("ResourceDialog", "Value", None, QtGui.QApplication.UnicodeUTF8))
        self.addProperty.setText(QtGui.QApplication.translate("ResourceDialog", "Add property", None, QtGui.QApplication.UnicodeUTF8))
        self.remove.setText(QtGui.QApplication.translate("ResourceDialog", "Remove Property", None, QtGui.QApplication.UnicodeUTF8))
        self.typeLabel.setText(QtGui.QApplication.translate("ResourceDialog", "Type", None, QtGui.QApplication.UnicodeUTF8))
        self.loadImage.setText(QtGui.QApplication.translate("ResourceDialog", "Load image", None, QtGui.QApplication.UnicodeUTF8))
        self.actionAddProperty.setText(QtGui.QApplication.translate("ResourceDialog", "AddProperty", None, QtGui.QApplication.UnicodeUTF8))

